package com.zimi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class WfActivityAuthority extends Model<WfActivityAuthority> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer activityId;
    private String activityType;
    private Integer orgId;
    private Integer role;
    private Date createTime;
    private Integer createUser;
    private Date updateTime;
    private Integer updateUser;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}